import React, { useEffect } from 'react'

import { Button, Result } from 'antd';

import styles from './index.module.css'

function SessionFall() {

    //[]空数组相当于componentDidMount
    useEffect(() => {
        //返回的函数相当于unmountComponentAtNode
        return () => {

        }
    }, []);

    return (
        <Result
            status="500"
            title="500"
            subTitle="Sorry, something went wrong."
            extra={<Button type="primary">Back Home</Button>}
        />
    )
}


export default SessionFall

